import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { ProductController } from "./product.controller";
import { ProductService } from "./product.service";
import { Product } from "./entities/product.entity";
import { ProductSpec } from "./entities/product-spec.entity";
import { ProductSku } from "./entities/product-sku.entity";

@Module({
	imports: [TypeOrmModule.forFeature([Product, ProductSpec, ProductSku])],
	controllers: [ProductController],
	providers: [ProductService],
	exports: [ProductService],
})
export class ProductModule {}
